<? // index.php
?>
<html >
<head>
<title>Massage150</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<style><? include 'css.css' ?></style>
<script language='javascript' src='scripts/constant.js' ></script>
<script language='javascript' src='scripts/util.js?sasljadss' ></script>
<script language='javascript' src='scripts/message.js' ></script>
<script language='javascript' src='scripts/weak.js' ></script>
<script language='javascript' src='scripts/render.js?df' ></script>
<script language='javascript' src='scripts/post.js?sadafs' ></script>
<script language='javascript' src='scripts/signin.js?asldfjsldifj' ></script>
<script language='javascript' src='scripts/service.js?asldfjsldifj' ></script>
<script>
state.shop = '<?=$_subdomain?>';

/*

function F( i, f ) {
	this.i = i;
	this.state = { 'fn':f.bind(this) };
	this.f = f;
};
F.prototype.inc = function() { this.i++ };
//-F.prototype.fn = function() { this.state.fn.call(this) };
F.prototype.fn = function() { this.state.fn() };
f1 = new F( 1, function() { console.log( this.i ); } );
f1.f();			// this works
f1.inc();		// this works
f1.fn();		// undefined!
f1.state.fn();		// undefined!

*/

</script>
</head>
<body onload='init()' >
<h1 id='title'>Massage 150</h1>
<div id='menu'>
	<a onclick='signin.signin()' href='#signin'>SIGN IN</a>
	<a onclick='service.service()' href='#service'>SERVICES</a>
	<a id='accounting' onclick='login' href='#accounting'>ACCOUNTING</a>
	<a onmouseover="util.autoclick(this,500)" id='maintenance' onclick='maintenance.get()' href='#maintenance'>MAINTENANCE</a>
	<a id='login' onclick='login.login()' href='#login'>LOGIN</a>
</div>
<div style='text-align:center;' ><div id='content'>
</div></div>
</body>
</html>
